﻿<Application
    x:Class="BingMap.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Maps="using:BingMapMVVM"
    xmlns:local="using:BingMap">

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <!-- 
                    Styles that define common aspects of the platform look and feel
                    Required by Visual Studio project and item templates
                 -->
                <ResourceDictionary Source="Common/StandardStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <DataTemplate x:Key="ItemTemplate"
                Maps:LocationAwareDataTemplate.LatitudePath="Latitude"
                Maps:LocationAwareDataTemplate.LongitudePath="Longitude">
                <Grid Width="200" Height="200" Background="Black">
                    <TextBlock Text="{Binding Title}" Foreground="Red" />
                </Grid>
            </DataTemplate>

        </ResourceDictionary>
    </Application.Resources>
</Application>
